public abstract class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static com.fs.starfarer.api.graphics.SpriteAPI |
getLoadedSprite(java.lang.String loc)
Retrieves a sprite from the given file path, loading it into a texture if it doesn't already have a texture
assigned.
|
public static com.fs.starfarer.api.graphics.SpriteAPI getLoadedSprite(java.lang.String loc)
loc - File path relative to the starsector-core directorySpriteAPI object corresponding to the given file